home *** CD-ROM | disk | FTP | other *** search
-
- #ifndef __DIALOGS__
- #include <Dialogs.h>
- #endif
-
-
- #define ucNoErr 0
- #define ucCancelErr -1
- #define ucNoAddrErr 1001
-
- #define XTCL_CB_VERSION 0x00010001
-
- /*
- ** This is the interface for text selection resource commands.
- */
- typedef struct {
- long version; /* Version of the Cmd interface. */
- long result; /* CMD's operation result code. */
- Handle resultH; /* CMD's result handle. */
- short cmdRefNum; /* Cmd file reference number. */
- Handle cmdHandle; /* CMD's command code handle. */
- Tcl_Interp *interp; /* Interpreter calling this XTCL. */
- int (*eval)(); /* Callback procedure (C) for tcl script evaluation */
- ModalFilterProcPtr modalproc; /* Routine for ModalDialog() to keep background. */
- long reserved;
- } XTCLParmBlk, *XTCLPBPtr;
-
- #define XTCL_FAILURE 0
- #define XTCL_SUCCESS 1
- #define XTCL_REQ_UNKNOWN -1
-
-